<?php $this->load->view('../layout/en/header'); ?>
<div class="content_box">
    <div id="bannerBox">
        <div id="bannerImg">
            <ul>
                <?php foreach($ad_list['list'] as $key=>$val): ?>
                    <li><a href="<?php echo $val['adlink']; ?>"><img src="<?php echo $val['adpath']; ?>"></a></li>
                <?php endforeach; ?>
            </ul>
        </div>
        <!--banner小圆点-->
        <div id="bannerBtn_box">
            <div id="bannerBtn">
                <ul>
                    <?php foreach($ad_list['list'] as $key=>$val): ?>
                        <li class=""></li>
                    <?php endforeach; ?>
                </ul>
            </div>
        </div>
    </div>
    <div class="con_bot">
        <div class="concon">
            <div class="new">
                <dl class="new_con">
                    <dt><img src="<?php echo $news['adpath']; ?>"></dt>
                    <dd>
                        <div class="new_ti">
                            <?php if(count($news['infos']) > 4){ ?>
                                <span class="more">
                                    <a href="<?php echo $news['adlink']; ?>">More&gt;&gt;</a>
                                </span>
                            <?php } ?>
                            <a href="<?php echo $news['adlink']; ?>">News</a>
                        </div>
                        <ul>
                            <?php foreach($news['infos'] as $key=>$val): ?>
                                <?php if($key < 4){ ?>
                                    <li>
                                        <span><?php echo date('Y-m-d',strtotime($val['addtime']))?></span>
                                        <a href="article-details-<?php echo $val['articleid']?>.html" title="<?php echo $val['title']; ?>"><?php echo msubstr($val['title'],0,20); ?> </a>
                                    </li>
                                <?php } ?>
                            <?php endforeach; ?>
                        </ul>

                    </dd>
                </dl>
            </div>
            <div class="project">
                <dl class="project_con">
                    <dt><img src="<?php echo $jishuzhichi['adpath']; ?>"></dt>
                    <dd>
                        <div class="project_ti">
                            <?php if(count($jishuzhichi['infos']) > 4){ ?>
                                <span class="more">
                                    <a href="<?php echo $jishuzhichi['adlink']; ?>">More&gt;&gt;</a>
                                </span>
                            <?php } ?>
                            <a href="<?php echo $jishuzhichi['adlink']; ?>">Technical Support</a>
                        </div>
                        <ul>
                            <?php foreach($jishuzhichi['infos'] as $key=>$val): ?>
                                <?php if($key < 4){ ?>
                                    <li> <span><?php echo date('Y-m-d',strtotime($val['addtime']))?></span>
                                        <a href="article-details-<?php echo $val['articleid']?>.html" title="<?php echo $val['title']; ?>">
                                            <?php echo msubstr($val['title'],0,20); ?>
                                        </a>
                                    </li>
                                <?php } ?>
                            <?php endforeach; ?>
                        </ul>

                    </dd>
                </dl>
            </div>
        </div>
    </div>
</div>
<?php $this->load->view('../layout/en/footer'); ?>